<?php
class GuestBookController extends ControllerBase
{
    public function init()
    {
        /* Initialize action controller here */
    }
    public function indexAction()
    {
        // action body
    }
    public function asignAction()
    {
        // action body
        $mapper  = new Application_Model_GuestbookMapper();
        try {
            if ($this->_request->isPost ()) {
                $request = $this->_request->getParams();
                $guestbook = new Application_Model_Guestbook($request);
                $mapper->save($guestbook);
                
            }
        } catch (Exception $e) {
            $this->_outLogEndAction($e,'','err');
        }
    }
}